﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using WF_Business;
using ExtBusiness;

public partial class DxInterface_DxInterface : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            string strUrl = string.Empty;
            string strDxRetrunUrl =System.Configuration.ConfigurationManager.AppSettings["DxinterfaceReturnUrl"].ToString();
            string strDxUrlIID = System.Configuration.ConfigurationManager.AppSettings["DxUrlIID"].ToString();

            ClsSubmitInfo subOperation = new ClsSubmitInfo();
            string strIid = subOperation.GetGlIid(Request.QueryString["iid"]);

            strUrl = string.Format("{0}?{1}={2}", strDxRetrunUrl, strDxUrlIID, strIid);

            //Response.Redirect(strUrl);
            string strScr = string.Format("<script>window.location.href='{0}'</script>", strUrl);
            Page.ClientScript.RegisterStartupScript(this.GetType(), "open", strScr);
        }
    }
}
